package com.dyw.springbootpersonal.service;

import com.dyw.springbootpersonal.entity.User;

import java.util.List;

/**
 * @author Devil
 * @create 2022-01-29-20:54
 */
public interface UserService {

    List<User> selectUsers();

    boolean insertUser(User user);

    boolean deleteUserById(int id);

    User selectById(int id);

    boolean updateById(User user);

}
